package com.example.demo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@ApiModel("板块信息")
@Data
public class Board {
    @ApiModelProperty("用户Id")
    private Long id;

    @ApiModelProperty("板块名")
    private String name;

    @ApiModelProperty("帖子数量")
    private Integer articleCount;

    @ApiModelProperty("排序优先级")
    private Integer sort;

    @ApiModelProperty("板块状态，0正常，1禁用")
    private Byte state;

    @ApiModelProperty("是否删除，0否，1是")
    private Byte deleteState;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更修时间")
    private Date updateTime;
}